import defaultSettings from '@/settings'

const title = defaultSettings.title || 'Vue Admin Template'

export default function getPageTitle(pageTitle: string) {
  //首页
  if (pageTitle) {
    //首页#
    return `${pageTitle}-${title}`
  }
  return `${title}`
}
